package com.geektime.hello.mapstruct;

public class UserBOTest {
    public static void main(String[] args) {
        UserDO userDO = new UserDO();
        userDO.setId(1);
        userDO.setUsername("mapstruct");
        userDO.setPassword("mapstruct");

        UserBO userBO = UserConvert.INSTANCE.convert(userDO);
        System.out.println(userBO);
    }
}
